package com.relation.action;

import com.relation.db.Dao;
import com.relation.domain.Resource;

public class DeleteResourceAction extends ActionBase{

	private Resource resource;
	
	public String execute()
	{
		Dao.INSTANCE.deleteResource(resource);
		return SUCCESS;
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}

	public Resource getResource() {
		return resource;
	}
}
